package com.cpe.repository.mapper.student;

import java.util.List;

import com.cpe.data.domain.student.Student;
import com.cpe.data.domain.student.StudentWithPhysiqueInfo;
import com.cpe.data.domain.student.StudentWithPhysiqueQuery;
import com.cpe.repository.mapper.SimpleMapper;

public interface StudentMapper extends SimpleMapper<Student> {
	List<Student> findByParentId(String parentId);

	List<Student> findByParentMobile(String parentMobile);

	/**
	 * 查询某个班级下的所有学生，并关联查询出每个学生当天在指定项目下的实际测量值
	 */
	List<StudentWithPhysiqueInfo> findInfoWithPhysiqueByClass(StudentWithPhysiqueQuery query);
}